<template>
  <div class="bg">
    <div class="ball"></div>
  </div>
</template>
<script>
export default {
  name: "",
  props: {},
  components: {},
  data() {
    return {};
  },
  mounted() {},
  methods: {},
};
</script>
<style scoped>
.bg {
  height: 100%;
  position: relative;
}
.ball {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background: radial-gradient(at center, #e67e22, #e74c3c);
  justify-self: center;
  animation-name: jump;
  animation-duration: 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}
@keyframes jump {
  0%,
  16%,
  42.2%,
  64%,
  80%,
  96%,
  100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 72vh, 0);
  }
  32%,
  34.4% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, 30vh, 0);
  }
  56% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, 50vh, 0);
  }
  72% {
    transform: translate3d(0, 60vh, 0);
  }
}
</style>
